package com.gistone.commis.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;


import java.util.Date;
/**
 * Created by wangfan on 2017/5/21.
 */
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Fund {
    private Integer ppId;

    private Integer communityId;
    private  Community community;

    private Integer departId;
    private  Depart depart;

    private Integer userId;
    private  User user;

    private String personName;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    private String ppName;

    @JsonFormat(pattern="yyyy-MM-dd")
    private Date ppDate;

    private String ppDetail;

    private Double amount;

    private String eventsOrg;

    private String budger;

    private Integer isOff;
    private String ppAdd;
    private Integer isDelete;
    private  FundChange fundChange;
    private Integer submitNumber;

    private String people;

    private String field2;

    private String nian;

    private String hao;

    private String bigAmount;


    public Fund(Integer ppId, Integer communityId, Integer departId, Integer userId, String personName, Date registerTime, String ppName, Date ppDate, String ppDetail, Double amount, String eventsOrg, String budger, Integer isOff, String ppAdd, Integer isDelete, Integer submitNumber, String people, String field2, String nian, String hao, String bigAmount) {
        this.ppId = ppId;
        this.communityId = communityId;
        this.departId = departId;
        this.userId = userId;
        this.personName = personName;
        this.registerTime = registerTime;
        this.ppName = ppName;
        this.ppDate = ppDate;
        this.ppDetail = ppDetail;
        this.amount = amount;
        this.eventsOrg = eventsOrg;
        this.budger = budger;
        this.isOff = isOff;
        this.ppAdd = ppAdd;
        this.isDelete = isDelete;
        this.submitNumber = submitNumber;
        this.people = people;
        this.field2 = field2;
        this.nian = nian;
        this.hao = hao;
        this.bigAmount = bigAmount;
    }
}